package com.qf.service;

import com.qf.domain.Cart;
import com.qf.domain.User;

import java.util.List;

public interface CartService {
    Cart select(Integer uid, int goods_id);

    void insert(Cart cart);

    void update(Cart cart);

    List<Cart> selectByUserId(Integer uid);

    void delete(Integer uid, int goods_id);

    void clearAll(Integer uid);

    void deleteByUId(int uid);

}
